package com.tv.cms.authcode.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tv.cms.base.model.BaseModel;
import lombok.Data;

import java.util.Date;

/**
 * TODO
 *
 * @author
 * @date
 **/
@Data
public class AuthCodeExport {

    @Excel(name="授权码",width = 20)
    private String authCode;
    @Excel(name="套餐名称",width = 20)
    private String goodsName;
    @Excel(name="授权天数")
    private Integer days;
   // @Excel(name="MAC")
    private String mac;
   // @Excel(name="订单编号")
    private String orderNo;
   // @Excel(name="用户名")
    private String name;
   // @Excel(name="密码")
    private String pwd;
   // @Excel(name = "激活时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date activityTime;
    private Integer deviceInfoId;

   // @Excel(name="详情")
    private String comment;
    @Excel(name = "授权码状态",replace = {"未激活_0","已激活_1","禁用_2","未激活_null"})
    private Integer deviceStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name="创建时间",format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer orderId;
    private Integer operatorId;
    private String operatorIds;
    private String remark;
}
